Einhugur macOS Bridge plugin.

VNInstanceMaskObservation.Cast Method

Does deep cast on incoming NSObject to VNInstanceMaskObservation.

shared Cast(
   obj as EinhugurCoreBridge.NSObject) as EinhugurVisionBridge.VNInstanceMaskObservation

Parameters

obj
The NSObject to be casted.

Returns

EinhugurVisionBridge.VNInstanceMaskObservation
The casted object or nil if the object could not be casted to VNInstanceMaskObservation.

Remarks

Deep cast in this context means that the NSObject under the hood gets casted and new. Xojo wrapper object is built around the casted object.

See Also

VNInstanceMaskObservation Class